<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head><center><h1> Ajout un utilisateur </h1>
        <script language='javascript'>
            function verifEmail() {
                    var email = document.forms['monForm'].elements['mail'].value;				
                    var reg = new RegExp('^[a-z0-9]+([_|\.|-]{1}[a-z0-9]+)*@[a-z0-9]+([_|\.|-]{1}[a-z0-9]+)*[\.]{1}[a-z]{2,6}$', 'i');

                    if(reg.test(email))
                    {
                            return(true);
                    }
                    else
                    {
                            return(false);
                    }

            }		 
	</script>   </head>
    <body>
        <form method='POST' action='data/create/user.php' name='monForm' onSubmit='return verifEmail();'>
            <table>
                <tr>
                    <td>Adresse email: </td>
                    <td><input type='email' name='USR_MAIL'</td>
                </tr>
                <tr>
                    <td>Mot de passe: </td>
                    <td><input type='password' name='USR_PASSWORD'</td>
                </tr>
                <tr>
                    <td>Confirmer le mot de passe: </td>
                    <td><input type='password' name='USR_PWD_CONF'</td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type='submit' value='Envoyer'</td>
                </tr>    
                
            </table>            
        </form>
    </body></center>        
</html>